<?php 
define('ACC', true);
require('../include/init.php');
$id=$_GET['cat_id'];
$ins=new Categorymodel();
$row=$ins->edit($id);
$tree=new Categorymodel();
$data=$tree->select();
$cattree=$tree->getCatTree($data,0,0);
include(ROOT.'view/admin/admin/cat_edit.html');
